/**
 * @name async-component.js
 * @description 异步加载组件
 * @author 'fwq'
 * @time 2021/10/17
 */
import { defineAsyncComponent } from "vue";

export const loadAsyncComponent = (loader) => defineAsyncComponent({
  loader,
  delay: 200,
  timeout: 3000
});